package com.facade;

public class light {
	private String position;
	public light(String position){
		this.position=position;
	}
	public void on(){
		System.out.println(this.position+"灯打开");
	}
	public void off(){
		System.out.println(this.position+"灯关闭");
	}

}
